#include "Math.h"


Math::Math()
{
}

void Math::setTam(int x, int y)
{
	m_TamX = x;
	m_TamY = y;
}

int Math::LineWithAngle_Axis_X(int x, float angle)
{
	return (m_TamY + (x - m_TamX)*tan(angle));
}
int Math::LineWithAngle_Axis_Y(int y, float angle)
{
	return (m_TamX + (y - m_TamY)*tan(angle));
}
Math::~Math()
{
}
